<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<div data-role="page" id="error_page">
    <div data-role="header">
        <h1>ERROR</h1>
    </div>
    <div data-role="content">
        <h2><c:out value="${errorMessage}"/></h2>
        <h3><c:out value="${errorInfo}"/></h3>
    </div>
    
    <div data-role="footer" align="center">
        <c:if test="${isDialog eq 'Y'}">
            <a href="javascript:$('#error_page').dialog('close');"class="ui-shadow ui-btn ui-corner-all ui-btn-icon-left ui-icon-back">Back</a>
        </c:if>
        
        <c:if test="${isDialog ne 'Y'}">
            <a href="javascript:jQuery.mobile.changePage('login.do?method=loginForm',{type:'post', transition: 'flip', reverse: true});"class="ui-shadow ui-btn ui-corner-all ui-btn-icon-left ui-icon-home">Home</a>
        </c:if>
    </div>
</div>